package com.example.shopdemo.utils;

import lombok.Data;

/**
 * @author ：Anitaxiaofeng
 * @description：
 * @create 2018-01-16
 **/
@Data
public class SearchCriteria {

    public SearchCriteria(String key, String operation, Object value) {
        this.key = key;
        this.operation = operation;
        this.value = value;
    }

    /**
     * 字段名
     */
    private String key;
    /**
     * 操作
     */
    private String operation;
    /**
     * 字段值
     */
    private Object value;
}
